/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package TimeRecording.business.calcs;

/**
 *
 * @author david
 */
public class HolidayAllowance {

    private double daysLeave;
    private double hoursPerDay;
    private String explanation;

    public HolidayAllowance(double daysLeave, double hoursPerDay, String explanation) {
        this.daysLeave = daysLeave;
        this.hoursPerDay = hoursPerDay;
        this.explanation = explanation;
    }

    public double getDaysLeave() {
        return daysLeave;
    }

    public void setDaysLeave(double daysLeave) {
        this.daysLeave = daysLeave;
    }

    public String getExplanation() {
        return explanation;
    }

    public void setExplanation(String explanation) {
        this.explanation = explanation;
    }

    public double getHoursPerDay() {
        return hoursPerDay;
    }

    public void setHoursPerDay(double hoursPerDay) {
        this.hoursPerDay = hoursPerDay;
    }

    public double getHoursLeave() {
        return hoursPerDay * daysLeave;
    }
}
